home *** CD-ROM | disk | FTP | other *** search
/ Beginning Mac Programming / Beginning Mac Programming.bin / Open Me for REALbasic 3 / REALbasic 3.2 / Read Me's / Converting Old Projects < prev    next >
Text File  |  2001-01-31  |  2KB  |  16 lines

  1. Converting projects from older versions of REALbasic to REALbasic 3
  2. We have made a few changes that will require a small amount of work for some projects to compile.
  3.  
  4. Sprite Engine Changes
  5. To update your old SpriteSurface projects: the only tricky thing is that when you load an REALbasic 2.1 project, any SpriteSurface control will have a height and width of 0. This makes it difficult to click on. You'll be able to see where it is by its icon, however; just drag around it with the mouse to select it, then give it a bigger height and width. Or you can click in the window and press the Tab key to select each control in the window in turn. All your old code and most of your old properties will remain intact. Your code will probably not need any modification, though if you used SpriteSurface.graphics before, you should now use the Window's graphics property instead. Note that using the new features will cause compiler errors if you attempt to compile your project in a previous version of REALbasic.
  6.  
  7. File Format Changes
  8. REALbasic 3 has an all new file format. Any new project will use this file format by default but older projects will continue to be saved in the old format unless you explicitly change the file format to the new one by performing a “Save As...” and leaving the Format: pop-up menu set to “Standard Project” . You can save a REALbasic 3 project as a version 2.1 project by choosing “Version 2.1 Project” from the Format: pop-up menu.
  9.  
  10. FolderItem Changes
  11. A bug fix for Folder Items has made a workaround published in Matt Neuburg's book return “Nil”. Now bad Folder Items return “nil” instead of nothing. He suggested the following to test whether a FolderItem actually exists, which will now fail, so don’t use this method:
  12.    f.exists and f.name <> ""
  13.  
  14. REALbasic is ©1997-2001 REAL Software, Inc.
  15. REALbasic is a registered trademark of REAL Software, Inc.
  16.